<template>
  <div>
    <h2>商品列表</h2>
    <ul>
      <li v-for="item in products" :key="item">
        {{item}}</li>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {
      products: ['鞋子', '衣服', '电视']
    }
  }
}
</script>

<style scoped>

</style>